﻿using System;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using SqlSugar;

namespace Zero.WebAPI.Framework.Security.Models
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("Data_Permission")]
    public partial class DataPermission
    {
           public DataPermission(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>
		   [SugarColumn(IsPrimaryKey=true,ColumnName ="PermID",ColumnDescription = "",Length = 32)]
		   [Required]
		   public string PermID {get; set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>
		   [SugarColumn(ColumnName ="PermName",ColumnDescription = "",Length = 32)]
		   public string PermName {get; set;}

    }
}
